package cn.home.DYX.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * 机构对象 home_institution
 * 
 * @author 丁宇翔
 * @date 2025-04-09
 */
public class HomeInstitution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构编号 */
    @Excel(name = "机构编号")
    private Long id;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String institutionname;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 简介 */
    @Excel(name = "简介")
    private String briefintroduction;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setInstitutionname(String institutionname) 
    {
        this.institutionname = institutionname;
    }

    public String getInstitutionname() 
    {
        return institutionname;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setBriefintroduction(String briefintroduction) 
    {
        this.briefintroduction = briefintroduction;
    }

    public String getBriefintroduction() 
    {
        return briefintroduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("institutionname", getInstitutionname())
            .append("image", getImage())
            .append("name", getName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("briefintroduction", getBriefintroduction())
            .toString();
    }
}
